<div id="content">
	<div class="content-bg" style="height:350px;">
		<!-- start contacts block -->
		<div class="big-block">
			<!--h1><?php echo Kohana::lang('ui_main.contact'); ?></h1-->
			<div id="contact_us" class="contact" style="width:550px;height:285px;float:left;margin-top:10px;">
				<?php
				if ($form_error)
				{
					?>
					<!-- red-box -->
					<div class="red-box">
						<h3>Error!</h3>
						<ul>
							<?php
							foreach ($errors as $error_item => $error_description)
							{
								print (!$error_description) ? '' : "<li>" . $error_description . "</li>";
							}
							?>
						</ul>
					</div>
					<?php
				}

				if ($form_sent)
				{
					?>
					<!-- green-box -->
					<div class="green-box">
						<h3><?php echo Kohana::lang('ui_main.contact_message_has_send'); ?></h3>
					</div>
					<?php
				}								
				?>
				<?php print form::open(NULL, array('id' => 'contactForm', 'name' => 'contactForm')); ?>
				<div class="report_row" >
					<div style="float:left;width:255px;">
						<strong><?php echo Kohana::lang('ui_main.contact_name'); ?>:</strong>
						<?php print form::input('contact_name', $form['contact_name'], ' class="text" style="width:250px;"'); ?> <br><br>
						<strong><?php echo Kohana::lang('ui_main.contact_email'); ?>:</strong><br />
						<?php print form::input('contact_email', $form['contact_email'], ' class="text"  style="width:250px;"'); ?> <br><br>
						
					<!--div class="report_row">
						<strong><?php echo Kohana::lang('ui_main.contact_phone'); ?>:</strong><br />
						<?php print form::input('contact_phone', $form['contact_phone'], ' class="text"'); ?>
					</div-->
						<strong><?php echo Kohana::lang('ui_main.contact_subject'); ?>:</strong>
						<?php print form::input('contact_subject', $form['contact_subject'], ' class="text" style="width:250px;"'); ?> <br><br>
						
						<strong><?php echo Kohana::lang('ui_main.contact_code'); ?>:</strong>
						<?php print $captcha->render(); ?><br><br>
						<?php print form::input('captcha', $form['captcha'], ' class="text"'); ?>
						</div>
						<div style="float:right;width:255px;margin-right:27px;">
						<strong style="margin-left:15px;"><?php echo Kohana::lang('ui_main.contact_message'); ?>:</strong><br />
						<?php print form::textarea('contact_message', $form['contact_message'], ' rows="4" cols="40" class="textarea long" style="width:250px;margin-left:15px;height:180px;" ') ?>

						<input name="submit" type="submit" value="<?php echo Kohana::lang('ui_main.contact_send'); ?>" class="btn_submit" style="margin-top:25px;margin-left:10px;" />

					</div>
				</div>
				<?php print form::close(); ?>
			</div>
			
			<div class="rt-block" style="width:370px;float:right;border:1px solid #CCCCCC;line-height: 1.7em;margin-top:10px;height:325px;">
				<div class="module-content" style="padding: 7px;font-size:110%;">
					<p align="justify" style="margin: 0 0 15px;">
						<?php echo Kohana::lang('contact.contact1'); ?><br><br>
						<?php echo Kohana::lang('contact.contact2'); ?><br>
					</p>
					<!--p align="justify" style="margin: 0 0 15px;">
						<?php //echo Kohana::lang('contact.contact3'); ?><br />
						<?php //echo Kohana::lang('contact.contact4'); ?><br />
						<?php //echo Kohana::lang('contact.contact5'); ?>
					</p-->
					
					<span style="font-family: 'Helvetica','sans-serif'; font-size: 9pt">
						<?php echo Kohana::lang('contact.contact6'); ?>
					</span> 
					<br>
					<p align="justify" style="margin: 0 0 15px;">
						<?php echo Kohana::lang('contact.contact7'); ?> 
						<a href="mailto:contacto@cic.mx">
							<strong><?php echo Kohana::lang('contact.mail_contact'); ?></strong>
						</a>
					</p>
					<p align="justify" style="margin: 0 0 15px;">
						<?php echo Kohana::lang('contact.contact8'); ?>
					</p>							
				</div>
			</div>			
			
		</div>
		<!-- end contacts block -->
	</div>
</div>